projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11bfff3
)
* lisp/simple.el (cursor-face-highlight-mode): Fix copy&paste
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 14 Mar 2022 12:27:31 +0000
(08:27 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 14 Mar 2022 12:27:31 +0000
(08:27 -0400)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 5768fb3c956187ab4dd94946b432055a62dd66ce..a91895907d244bc626300151ef2f42912e11d8bb 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-6572,8
+6572,8
@@
is set to the buffer displayed in that window.")
(if cursor-face-highlight-mode
(add-hook 'pre-redisplay-functions
#'redisplay--update-cursor-face-highlight nil t)
- (
add
-hook 'pre-redisplay-functions
- #'redisplay--update-cursor-face-highlight t)))
+ (
remove
-hook 'pre-redisplay-functions
+
#'redisplay--update-cursor-face-highlight t)))
(defun redisplay--pre-redisplay-functions (windows)
(with-demoted-errors "redisplay--pre-redisplay-functions: %S"